<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;


/**
 * Class User
 * @package App\Models
 *
 * @property integer $id
 * @property integer $user_id
 * @property  $user_name
 */
class Hospital extends Model
{
    public $timestamps = true;

    const STATUS_TRUE = 1;//可以被投票
    const STATUS_FALSE = 2;//不可以被投票
    use Notifiable;
    protected $table = 'ty_hospital';
    protected $primaryKey = 'hid';
    protected $fillable = ['name', 'num', 'status', 'type', 'tag'];

    protected $dates = ['created_at', 'updated_at'];
    // Rest omitted for brevity

}
